package com.cac.demo.service.pointPackageSort.impl;

import com.cac.demo.dao.pointPackageSort.PackageSortTaskQueryDao;
import com.cac.demo.service.pointPackageSort.PackageSortTaskQueryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

@Service
public class PackageSortTaskQueryServiceImpl implements PackageSortTaskQueryService {

    @Resource
    private PackageSortTaskQueryDao packageSortTaskQueryDao;

    @Override
    public List<HashMap> queryPackage(HashMap map) {
        System.out.println("工作包impl"+map);
        List<HashMap> hashMaps = packageSortTaskQueryDao.queryPackage(map);
        return hashMaps;
    }

    @Override
    public List<HashMap> queryAO(HashMap map) {
        List<HashMap> hashMaps = packageSortTaskQueryDao.queryAO(map);
        return hashMaps;
    }

    @Override
    public List<HashMap> queryMaterial(HashMap map) {
        List<HashMap> hashMaps = packageSortTaskQueryDao.queryMaterial(map);
        return hashMaps;
    }

    @Override
    public List<HashMap> querySupportingFacilities(HashMap map) {
        List<HashMap> hashMaps = packageSortTaskQueryDao.querySupportingFacilities(map);
        return hashMaps;
    }
}
